//
//  GetUploadImageAPI.m
//  WisdomStar
//
//  Created by 谭飞 on 2018/11/13.
//  Copyright © 2018年 zhangliwen. All rights reserved.
//

#import "GetQNUploadInfoAPI.h"

@implementation GetQNUploadInfoAPI

- (NSString *)requestUrl {
    if (self.uploadType == 0) {
        return @"/api/upload/token";
    } else {
        return @"/api/upload/file";
    }
}

- (id)requestArgument {
    if (self.uploadType == 0) {
        return @{@"token": User_Token};
    } else {
        return self.outerParameters;
    }
}

@end
